import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('../views/Admin.vue')
    },
    {
      path: '/add',
      component: () => import('../views/MemberAdd.vue')
    },
    {
      path: '/list',
      component: () => import('../views/MemberList.vue')
    },
    {
      path: '/level',
      component: () => import('../views/MemberLevel.vue')
    }
  ]
})

export default router
